<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>充加编辑</title>
    <link rel="stylesheet" type="text/css" href="../../../base/plugins/layui/css/layui.css">
    <link rel="stylesheet" href="../../../base/css/global.css">

    <script type="application/javascript" src="../../../base/plugins/layui/layui.js"></script>
    <script src="../../../base/js/jquery-3.3.1.min.js"></script>
    <script src="../../../base/js/uploadPreview.js"></script>

</head>
<style type="text/css">
    .layui-form-label {
        width: 110px;
    }
    .layui-input, .layui-textarea {
    display: block;
    width: 90%;
    padding-left: 10px;
}

</style>
<body>


    <form class="layui-form site-title " id="formSubmit">
        <fieldset class="">
            <legend>充加编辑</legend>
        <div class="layui-form-item">
            <label class="layui-form-label">申请编号</label>
            <div class="layui-input-block">
                <input class="layui-input" placeholder="VR20170005" type="text" name="" id="id-apply-submit" disabled>
            </div>
        </div>    
        <div class="layui-form-item">
            <label class="layui-form-label">申请人编号</label>
            <div class="layui-input-block">
                <input class="layui-input" placeholder="009" type="text" name="" id="id-user-submit" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">申请人姓名</label>
            <div class="layui-input-block">
                <input class="layui-input" placeholder="赵六" type="text" name="" id="name-user-submit" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">车牌号</label>
            <div class="layui-input-block">
                <input class="layui-input" placeholder="请输入车牌号" type="text" name="user.id" id="id-car-submit">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">申请加油时间</label>
            <div class="layui-input-block">
                <input class="layui-input" name="" placeholder="请选择申请加油时间" type="text" id="create_apply_time">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">汽油型号</label>
            <div class="layui-input-block">
                <input class="layui-input" placeholder="请输入汽油型号" type="text" name="" id="id-oil-submit">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">单价</label>
            <div class="layui-input-block">
                <input class="layui-input" placeholder="请输入汽油单价" type="text" name="" id="price-oil-submit">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">充加量</label>
            <div class="layui-input-block">
                <input class="layui-input" placeholder="请输入充加量" type="text" name="" id="amount-oil-submit">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">充加金额</label>
            <div class="layui-input-block">
                <input class="layui-input" placeholder="请输入充加金额" type="text" name="" id="price-oil-sum">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">付款方式</label>
            <div class="layui-input-block">
              <select name="department" lay-verify="">
                <option value="">请选择支付方式</option>
                <option value="支付宝">支付宝</option>
                <option value="微信">微信</option>
                <option value="现金">现金</option>
              </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">订单号</label>
            <div class="layui-input-block">
                <input class="layui-input" placeholder="请输入订单号" type="text" name="" id="order-id-submit">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">上次里程</label>
            <div class="layui-input-block">
                <input class="layui-input" placeholder="请输入上次里程" type="text" name="" id="last_mileage">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">本次里程</label>
            <div class="layui-input-block">
                <input class="layui-input" placeholder="请输入本次里程" type="text" name="" id="the_mileage">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">本月行程</label>
            <div class="layui-input-block">
                <input class="layui-input" placeholder="请输入本月行程" type="text" name="" id="the_moth_journey">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">耗油量</label>
            <div class="layui-input-block">
                <input class="layui-input" placeholder="请输入本月耗油量" type="text" name="" id="the_moth_journey">
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn layui-btn-normal" type="button" id="btnSubmit">提交</button>
                <button class="layui-btn layui-btn-primary" type="reset">重置</button>
                <button class="layui-btn layui-btn-danger" id="btnClose" type="button">关闭</button>
            </div>
        </div>
        </fieldset>
    </form>

</body>
<script>
    layui.use(["form","laydate"], function () {
        var laydate = layui.laydate;

        //执行一个laydate实例
        laydate.render({
            elem: '#create_apply_time' //指定元素
        });
    });
</script>
</html>